home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / imake / RCS / sun.cf,v < prev    next >
Encoding:
Text File  |  1992-08-20  |  2.3 KB  |  131 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.2
  10. date     92.08.20.16.58.31;  author rab;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     91.10.22.13.47.34;  author rab;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @@
  22.  
  23.  
  24. 1.2
  25. log
  26. @checking in for rab -- jhh
  27. @
  28. text
  29. @XCOMM platform:  $XConsortium: sun.cf,v 1.69 91/09/09 18:23:59 rws Exp $
  30.  
  31. #define OSName            SunOS 4.1.1
  32. XCOMM operating system:  OSName
  33. #define OSMajorVersion    4
  34. #define OSMinorVersion    1
  35.  
  36. #if OSMajorVersion < 4 || (OSMajorVersion == 4 && OSMinorVersion < 1)
  37. /* We do not guarantee this will work */
  38. #define BootstrapCFlags   -DNOSTDHDRS
  39. #define StandardDefines   -DNOSTDHDRS
  40. #endif
  41.  
  42. #ifdef sprite
  43.   #define HasSaberC      NO
  44.   #define HasNdbm      NO
  45.   #define HasShm      NO
  46.   #define HasSecureRPC      NO
  47.   #define SetTtyGroup      NO
  48. #else
  49.   #define HasSaberC      YES
  50.   #define HasNdbm      YES
  51.   #define HasShm      YES
  52.   #define HasSecureRPC      YES
  53.   #define SetTtyGroup      YES
  54. #endif
  55.  
  56. #define HasPutenv      YES
  57. #define XsunServer      YES        /* has color and mono support */
  58. #define XsunMonoServer      YES        /* monochrome only */
  59. #define BuildPexExt      XsunServer
  60.  
  61. #ifdef sparc
  62. #undef sparc
  63. #define SparcArchitecture
  64. #endif
  65. #ifdef sun386
  66. #undef sun386
  67. #define i386Architecture
  68. #endif
  69.  
  70. #include <sunLib.rules>
  71.  
  72. #if HasGcc
  73.  
  74. #define SharedLibraryCcCmd cc
  75. #define ExtraLoadFlags -B/usr/bin/
  76. #define AllocateLocalDefines /**/
  77.  
  78. .c.o:
  79.     $(CC) -c $(CFLAGS) $*.c
  80.  
  81. #else
  82.  
  83. #define AllocateLocalDefines -DINCLUDE_ALLOCA_H
  84.  
  85. #ifdef mc68000
  86. #define DefaultCCOptions -f68881
  87. #else
  88. #define DefaultCCOptions
  89. #endif
  90.  
  91. #define PexCCOptions DefaultCCOptions
  92.  
  93. #endif
  94.  
  95. #define SharedAllocateLocalDefines -DINCLUDE_ALLOCA_H
  96. #define LibraryCCOptions /* don't want special floating point */
  97.  
  98. #ifndef UseSunWindowsInServer
  99. #define UseSunWindowsInServer    NO    /* link in SunWindows support? */
  100. #endif
  101.  
  102. #if UseSunWindowsInServer
  103. #define SunWindowsDefines -DSUN_WINDOWS
  104. #else
  105. #define SunWindowsDefines /* as nothing */
  106. #endif
  107.  
  108. #define ServerOSDefines SunWindowsDefines AllocateLocalDefines
  109. @
  110.  
  111.  
  112. 1.1
  113. log
  114. @Initial revision
  115. @
  116. text
  117. @d14 14
  118. a27 5
  119. #define HasSaberC      YES
  120. #define HasNdbm          YES
  121. #define HasShm          YES
  122. #define HasSecureRPC      YES
  123. #define SetTtyGroup      YES
  124. d58 1
  125. a58 1
  126. #define DefaultCCOptions -f68881 -pipe
  127. d60 1
  128. a60 1
  129. #define DefaultCCOptions -pipe
  130. @
  131.